import request from '@/api/request.js'


// 获取验证码
function getcode(data){
	return request({
		url: `/v2merchant/send/smscode`,
		method: 'POST',
		data
	})
}
//登录
function login(data){
	return request({
		url: `/invitation/login`,
		method: 'POST',
		data
	})
}
// 地理位置转码
function coordinateToAddress(data){
	return request({
		url: `/mobile/coordinateToAddress`,
		method: 'POST',
		data
	})
}
//首页数据
function info(data){
	return request({
		url: `/mobile/index/info`,
		method: 'POST',
		data
	})
}

//ios骗审
function postOpenInfo(data){
	return request({
		url: `/v2msg/shop/openInfo`,
		method: 'POST',
		data
	})
}





export{
	getcode,login,coordinateToAddress,info,postOpenInfo
}